package com.jmlee.pojo;

import java.util.Date;

/**
 * @author： 郑锦涛
 * @data： 2021/3/20 14:24
 * @version：1.0
 * @描述：
 */
public class ACouponDetail {

    /**
     * id       id
     * couponId 优惠券id
     * userId   用户id
     * createTime   领取时间
     * usedTime 使用时间
     */
    private Long id;
    private Long couponId;
    private Long userId;
    private Date createTime;
    private Date usedTime;

    public ACouponDetail() {
    }

    @Override
    public String toString() {
        return "ACouponDetail{" +
                "id=" + id +
                ", couponId=" + couponId +
                ", userId=" + userId +
                ", createTime=" + createTime +
                ", usedTime=" + usedTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(Date usedTime) {
        this.usedTime = usedTime;
    }
}
